package com.gzx.qc.modular.asr.strategy.baidu.dto;

import lombok.Data;

import java.util.List;

/**
 * @author zjt
 * @description
 * @date 2025/7/31 10:09
 */
@Data
public class BaiduChatRespDto {
    private String id;
    private String object;
    private long created;
    private String model;
    private List<Choice> choices;
    private Usage usage;

    @Data
    public static class Choice {
        private int index;
        private Message message;
        private String finish_reason;
        private int flag;

        @Data
        public static class Message {
            private String role;
            private String content;
            private String reasoning_content;
        }
    }

    @Data
    public static class Usage {
        private int prompt_tokens;
        private int completion_tokens;
        private int total_tokens;
        private CompletionTokensDetails completion_tokens_details;

        @Data
        public static class CompletionTokensDetails {
            private int reasoning_tokens;
        }
    }
}
